<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>vue监测数据改变的原理</title>
    <script src="../js/vue.js"></script>
</head>

<body>
    <div id="root">
        {{name}}
        <br>
        {{address}}
    </div>
    <script>
        Vue.config.productionTip = false
        var vm = new Vue({
            el: '#root',
            data: {
                name: 'xiaoyao',
                address: 'shuanghe'
            },
            methods: {}
        });
    </script>
</body>

</html>